If you're coming from the NSW seaboard, the most direct way of getting to Cobar is via Dubbo, Nyngan, and the Barrier Highway. The Kidman Way passes through the town north-to-south, and can be used if you're coming from Queensland via Bourke or Victoria via Griffith.
Regional Express have flights from both Sydney and Dubbo.